﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace DScheme.DancerClasses
{
    class DancerActionNormalizeAngle : DancerAction
    {
        public DancerActionNormalizeAngle(Dancer dancer, double startTime)
            : base(dancer, startTime, 0)
        {
            ;
        }

        protected override void ExecuteBeforeStart()
        {
            ;
        }

        protected override void ExecuteAction(double actTimeS)
        {
            ExecuteDone();
        }

        protected override void ExecuteDone()
        {
            dancer.Angle = DancerMover.NormalizeAngle(dancer.Angle);
        }
    }

}
